home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 7
/
Aminet 7 - August 1995.iso
/
Aminet
/
text
/
hyper
/
ADtoHT2_1.lha
/
Source.lha
/
MyLib.lha
/
stdio
/
perror.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1995-03-04
|
327 b
|
19 lines
#include <stdio.h>
#include <errno.h>
#include <proto/dos.h>
#include "Internal.h"
/************************************************************************/
void perror(const char *String)
{
BPTR OldOutput;
OldOutput=SelectOutput(stderr->Filehandle);
PrintFault(errno,(char *)String);
SelectOutput(OldOutput);
}